package com.xiaobao.campusLostFoundAfter.service;

import com.github.pagehelper.PageInfo;
import com.xiaobao.campusLostFoundAfter.common.Result;
import com.xiaobao.campusLostFoundAfter.pojo.BrowsingHistory;

public interface BrowsingHistoryService {
    //添加浏览记录
    Result<String> addBrowsingHistory(BrowsingHistory browsingHistory);

    //删除浏览记录
    Result<String> deleteBrowsingHistory(Integer bhId);

    //获取浏览记录
    PageInfo<BrowsingHistory> getBrowsingHistoryOfFound(String userId, int page, int size);

    //获取浏览记录
    PageInfo<BrowsingHistory> getBrowsingHistoryOfLost(String userId, int page, int size);

    //修改浏览记录
    Result<String> updateBrowsingHistory(Integer bhId);
}
